#include<stdio.h>
int main(int argc,char **argv)
{
    if(argc==3)
    {
        FILE *fp1=fopen(argv[1],'w+');
        FILE *fp2=fopen(argv[2],'r+');
        if(fp1==NULL||fp2==NULL)
            return 0;
        char n=fgetc(fp2);
        while(n!=EOF)
        {
            fputc(n,fp1);
        }
        fputc(n,fp2);
        fclose(fp2);
        fclose(fp2);
    }
}
